<table class="table table-bordered" id="address-lists-table" data-toggle="datagrid" data-options="{
    tableWidth: '100%',
    height: '100%',
    gridTitle : '快递列表',
    showToolbar: true,
    toolbarItem: 'add,del',
    local: 'remote',
    dataUrl: '/admin/logistics/line-list?logistics_id={{$logisticsId}}',
    linenumberAll: false,
    showLinenumber: false,
    showCheckboxcol: true,
    filterThead: false,
    inlineEditMult: false,
    showEditbtnscol: '操作',
    editUrl: '/admin/logistics/line-edit?id={id}&logistics_id={{$logisticsId}}',
    editMode:{dialog:{id:'ygt-bjui-dialog','title':'添加/编辑',width:500,height:350}},
    editCallback:editCallback,
    delUrl:'/admin/logistics/line-delete',
    delPK: 'id',
    delConfirm: true,
}">
    <thead>
    <tr>
        <th data-options="{name:'id',width:50,align:'center',add:false,edit:false}">编号</th>
        <th data-options="{name:'title',align:'center'}">专线名称</th>
        <th data-options="{name:'contact_name',align:'center'}">联系人</th>
        <th data-options="{name:'contact_mobile',align:'center'}">联系电话</th>
        <th data-options="{name:'contact_address',width:500,align:'center'}">联系地址</th>
    </tr>
    </thead>
</table>
<script type="text/javascript"></script>